package com.bingxue.edu.management.system.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@Schema(description = "员工密码重置请求")
public class EmployeePasswordUpdateReq {

    @Schema(description = "员工id")
    @NotNull(message="员工id不能为空")
    private String id;

    @Schema(description = "用户密码")
    @Length(max = 255, message = "用户密码长度不能超过 {max} 个字符")
    private String password;
}
